package cn.cxyxj.study.webflux03;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @GetMapping("/hello-dev")
    public String devHello() {
        return "Hello Dev webflux Spring Security";
    }

    @GetMapping("/hello-test")
    public String testHello() {
        return "Hello Test webflux Spring Security";
    }


    @GetMapping("/hello")
    public String hello() {
        return "Hello  webflux Spring Security";
    }

    @GetMapping("/permitAll")
    public String permitAll() {
        return "Permit All webflux Spring Security";
    }

}
